#ifndef GLUT_FUNCTIONS_H
#define GLUT_FUNCTIONS_H


#include <GL/glut.h>
#include <GL/glui.h>
#include <windows.h>

#include "HMD.h"
#include "GLUI.h"
#include "DrawFunctions.h"

#define DEFAULT_WINDOW_WIDTH 1000
#define DEFAULT_WINDOW_HEIGHT 700
#define DEFAULT_WINDOW_POS_X 100
#define DEFAULT_WINDOW_POS_Y 20

extern int subwindow_width;
extern int subwindow_height;
extern int subwindow_x;
extern int subwindow_y;
extern int window_width;
extern int window_height;
extern int old_window_width;
extern int old_window_height;
extern int	main_window;

void GLUTInit(int argc, char** argv);
void myGlutIdle(void);
void myGlutMouse(int button, int state, int x, int y);
void myGlutMotion(int x, int y);
void myGlutKeyboard(unsigned char key, int x, int y);
void myGlutReshape(int	x, int y);
void myGlutDisplay(	void );

#endif